/****************************************************************************
 * 2018.8 CN-20120726BTFG
 ****************************************************************************/

using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using QFramework;
using TodoList;

namespace QFramework.Example
{
	public partial class UIToDoIteam : UIElement
	{
        private TodoItem mModel;

        public void Init(TodoItem model)
        {
            mModel = model;
            UpdateView();
        }

        void UpdateView()
        {
            title.text = mModel.title;
            complite.isOn = mModel.complite;
        }
    }
}